package com.zhuxiaomei.vo.restaurant;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hxm
 * @date 2024/11/11 15:06
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL) // 只序列化非 null 值字段
public class RestaurantDishVO implements Serializable {
    /**
     * 菜品id
     */
    private Long id;
    /**
     * 菜品名称
     */
    private String dishName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 菜品图片路径
     */
    private String dishImage;

    /**
     * 菜品描述,16个字符上限
     */
    private String description;


    /**
     * 类别id
     */
    private Long categoryId;

    /**
     * 1：起售，0：停售
     */
    private Byte status;
}
